<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>系统设置列表</title>
  </head>
  
  <body background="img/allbg.gif" topmargin="8" leftmargin="8">
	<table width="98%" cellspacing="1" cellpadding="2" border="0" bgcolor="#d1ddaa" align="center">
		<tr>
			<td>ID</td>
			<td>参数名</td>
			<td>参数值</td>
			<td>操作</td>
		</tr>
		<c:forEach items="sysconfigs" var="sysconfig">
		<tr>
			<td>${sysconfig.id}&nbsp;</td>
			<td>${sysconfig.name}&nbsp;</td>
			<td>${sysconfig.value}&nbsp;</td>
			<td><a href="#">编辑</a>&nbsp;<a href="#">删除</a></td>
		</tr>
		</c:forEach>
	</table>
</body>
</html>
